<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>基于BootStrap的网页</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <style>
        body {
            padding-top: 50px;
            padding-bottom: 40px;
            color: #5a5a5a;
        }

        .sidebar {
            position: fixed;
            top: 51px;
            bottom: 0;
            left: 0;
            z-index: 1000;
            display: block;
            padding: 20px;
            overflow-x: hidden;
            overflow-y: auto;
            background-color: #ddd;
            border-right: 1px solid #eee;
        }

        .nav-sidebar {
            margin-right: -21px;
            margin-bottom: 20px;
            margin-left: -20px;
        }

        .nav-sidebar>li>a {
            padding-right: 20px;
            padding-left: 20px;
        }

        .nav-sidebar>.active>a,
        .nav-sidebar>.active>a:hover,
        .nav-sidebar>.active>a:focus {
            color: #fff;
            background-color: #428bca;
        }

        .main {
            padding: 20px;
        }

        .main .page-header {
            margin-top: 0;
        }
    </style>

</head>

<body>
    <nav class="navbar navbar-default navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">基于BootStrap的网页布局</a>
            </div>

            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="#">文案</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">文案<span class="caret"></span></a>
                        <ul class="dropdown-menu" role="menu">
                            <li class="dropdown-header">ҵ文案</li>
                            <li><a href="#">文案</a></li>
                            <li><a href="#">文案</a></li>
                            <li><a href="#">文案</a></li>
                            <li class="divider"></li>
                            <li class="dropdown-header">ϵͳ文案</li>
                            <li><a href="#">文案</a></li>
                        </ul>
                    </li>
                    <li><a href="#">文案</a></li>
                </ul>
                <form class="navbar-form navbar-right" role="search">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="待输入">
                        <input type="text" class="form-control" placeholder="待输入">
                    </div>
                    <button type="submit" class="btn btn-default">文案</button>
                </form>
            </div>
        </div>
    </nav>
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-3 col-md-2 sidebar">
                <ul class="nav nav-sidebar">
                    <li class="active"><a href="#">文案</a></li>
                </ul>
                <ul class="nav nav-sidebar">
                    <li><a href="#">文案</a></li>
                    <li><a href="#">文案</a></li>
                    <li><a href="#">文案</a></li>
                </ul>
                <ul class="nav nav-sidebar">
                    <li><a href="#">文案</a></li>
                    <li><a href="#">文案</a></li>
                </ul>
            </div>
            <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                <h1 class="page-header">文案文案̨</h1>

                <p>
                    <button type="button" class="btn btn-lg btn-default">文案1</button>
                    <button type="button" class="btn btn-lg btn-primary">文案2</button>
                    <button type="button" class="btn btn-lg btn-success">文案3</button>
                    <button type="button" class="btn btn-lg btn-info">文案4</button>
                    <button type="button" class="btn btn-lg btn-warning">文案5</button>
                    <button type="button" class="btn btn-lg btn-danger">文案6</button>
                </p>
                <div class="row">
                    <div class="col-md-6">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">文案文案</h3>
                            </div>
                            <div class="panel-body">
                                <div class="alert alert-success" role="alert">
                                    <strong>文案</strong>文案
                                </div>
                                <div class="alert alert-danger" role="alert">
                                    <strong>文案</strong>文案
                                </div>
                                <div class="alert alert-warning" role="alert">
                                    <strong>文案</strong>文案
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">

                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">文案</h3>
                            </div>
                            <div class="panel-body">
                                <ul class="nav nav-pills nav-stacked" role="tablist">
                                    <li role="presentation">
                                        <a href="#" class="alert alert-info">
                                            <span class="badge pull-right">42</span>
                                            文案文案
                                        </a>
                                    </li>
                                    <li role="presentation">
                                        <a href="#" class="alert alert-info">
                                            <span class="badge pull-right">20</span>
                                            文案
                                        </a>
                                    </li>
                                    <li role="presentation">
                                        <a href="#" class="alert alert-info">
                                            <span class="badge pull-right">10</span>
                                            文案
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-6">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">文案</h3>
                            </div>
                            <div class="panel-body">
                                <table class="table table-striped">
                                    <thead>
                                        <tr>
                                            <th>#</th>
                                            <th>文案Ʒ</th>
                                            <th>文案</th>
                                            <th>�ܽ文案</th>
                                            <th>ҵ文案Ա</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td>1</td>
                                            <td>Apple Macbook air</td>
                                            <td>10</td>
                                            <td>80000</td>
                                            <td>文案С文案</td>
                                        </tr>
                                        <tr>
                                            <td>2</td>
                                            <td>Apple iPad air</td>
                                            <td>20</td>
                                            <td>65000</td>
                                            <td>文案文案</td>
                                        </tr>
                                        <tr>
                                            <td>3</td>
                                            <td>Apple Macbook pro</td>
                                            <td>5</td>
                                            <td>50000</td>
                                            <td>文案�ϸ�</td>
                                        </tr>
                                    </tbody>
                                </table>
                                <p><a class="btn btn-primary" href="#" role="button">�鿴文案ϸ&raquo;</a></p>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <div class="panel panel-primary">
                            <div class="panel-heading">
                                <h3 class="panel-title">进度条</h3>
                            </div>
                            <div class="panel-body">
                                <h3><span class="label label-primary">进度条</span></h3>
                                <div class="progress">
                                    <div class="progress-bar progress-bar-striped" role="progressbar" aria-valuenow="80"
                                        aria-valuemin="0" aria-valuemax="100" style="width: 60%"><span
                                            class="sr-only">80% Complete</span>
                                    </div>
                                </div>
                                <h3><span class="label label-danger">进度条</span></h3>
                                <div class="progress">
                                    <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="30"
                                        aria-valuemin="0" aria-valuemax="100" style="width: 80%"><span
                                            class="sr-only">30% Complete
                                            (danger)</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="js/jquery-1.11.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
</body>

</html>